package com.msb.service;

import com.msb.dto.UserDTO;
import com.msb.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chshh
 * @since 2022-10-21
 */
public interface UserService extends IService<User> {
    public Integer saveOrUpdate(UserDTO userDTO, HttpSession session) throws Exception;
    public User login(String userName);
}
